package cn.com.callback;
import groovy.json.*;
import groovy.swing.impl.DefaultAction;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.RequestDispatcher;
import cn.com.elite.EliteBean;
import java.security.MessageDigest;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.wisdge.dataservice.Result;
import java.util.Map;
import java.util.Date;
import java.util.HashMap;

import org.json.JSONObject;
import org.json.JSONArray;
import org.json.JSONException;

import cn.com.elite.Util;
import cn.com.kh.getProperty;
import cn.com.kh.KHUtil;

/**
 *
 * @Title: autoHstGetEmailWorkorder
 * @Description: 华盛证券，自动任务获取Esop邮箱配置启用下的接收邮件
 * @author: chieh
 * @date 2023-11-08 12:50
 *
 */

public class autoHstGetEmailWorkorder implements CallBackInvoke{
	private static final Log log=LogFactory.getLog(autoHstGetEmailWorkorder.class);
	
	public void doCallBack(EliteBean eliteBean,String callBack,Map map,String body) {
		
        log.debug("-------------------------start autoHstGetEmailWorkorder 开始调用 -----------------");
		
		Map<String, String> headMap = new HashMap<String, String>();
		headMap.put("Content-Type", "application/json");
		//获取配置参数
		String sysurl = getProperty.get("crmurl");//配置本地接口地址
		//华盛证券，自动任务获取Esop邮箱配置启用下的接收邮件
		sysurl = sysurl+"apiHstGetEmailWorkorder";
		Util.doHttpPostUseHead(sysurl,"{}","UTF-8",100000,0,headMap);

	}
}